// App.scss


$primary-color: #1890ff;
$border-color: #d9d9d9;
// $card-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);

.order-container {
  width: 100%;

  .order-header {
    margin-bottom: 30px;

    h1 {
      font-size: 24px;
      color: #333;
      margin-bottom: 8px;
    }

    .create-time {
      color: #666;
      font-size: 14px;
    }
  }

  .steps-card {
    width: 60%;
    margin-bottom: 24px;

    .ant-steps {
      padding: 10px 20px;
    }
  }

  .section-title {
    color: #333;
    font-size: 18px;
    margin-bottom: 16px;
    border-left: 4px solid $primary-color;
    padding-left: 12px;
  }

  .address-card,
  .time-card,
  .goods-card,
  .remark-card {
    margin-bottom: 20px;
    width: 60%;
    // box-shadow: $card-shadow;
    border-radius: 8px;


  }

  .address-grid,
  .time-grid {
    display: flex;

    // grid-template-columns: repeat(2, 1fr);
    // gap: 40px;

    .address-item,
    .time-item {
      padding: 15px;
      border: 1px solid #ccc;
      display: flex;
      flex-direction: column;
      justify-content: space-evenly;
      align-items: center;

      label {
        display: block;
        color: #666;
        margin-bottom: 8px;
        font-weight: bold;

        &::before {
          content: '*';
          color: #ff4d4f;
          margin-right: 4px;
        }
      }

      .detail {
        color: #888;
        font-size: 14px;
        margin-top: 4px;
      }
    }
  }

  .goods-table {
    .ant-table {
      th {
        background-color: #fafafa;
        font-weight: 600;
      }

      td {
        padding: 16px;
      }

      .ant-table-summary {
        background-color: #f5f5f5;

        td {
          font-weight: bold;
        }
      }
    }
  }

  .remark-content {
    color: #666;
    padding: 12px;
    background-color: #fafafa;
    border-radius: 4px;
  }

  .back-button {
    margin-top: 24px;
    padding: 8px 24px;
    border-radius: 4px;
  }
}